<?php 
	
	header("Content-type: image/jpeg");  
	
	$src = imageCreateTrueColor(200,100); 

	$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255)); 

	imageFill($src,0,0,$color);

	

	for ($i=0; $i <4 ; $i++) { 

		$font = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM";

		$code = $font[mt_rand(0,strlen($font)-1)];

		$width = $i*43;

		$width += 10;

		$height = mt_rand(65,70);

		$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255)); 

		imagettftext($src,30,mt_rand(-10,10), $width , $height , $color , "./Kiddy Paints.ttf" , $code);
	};
	for ($i=0; $i < 200 ; $i++) { 

		$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255)); 

		imagesetpixel ( $src , mt_rand(0,200) , mt_rand(0,100) , $color );

	};

	for ($i=0; $i <20 ; $i++) { 

		$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255)); 

		imageline ( $src , mt_rand(0,200) , mt_rand(0,50) , mt_rand(0,200) , mt_rand(50,100) , $color );
	};

	imagejpeg($src);  









 ?>
 